package com.feng.chat.pojo;

import io.gitee.zerowsh.actable.annotation.AcColumn;
import io.gitee.zerowsh.actable.annotation.AcTable;
import io.gitee.zerowsh.actable.emnus.ColumnTypeEnums;

@AcTable(name = "talk_records_invite",comment = "用户聊天记录_入群或退群消息表")
public class TalkRecordsInvite {
    @AcColumn(name = "id",comment = "入群或退群通知ID",type = ColumnTypeEnums.INT,length = 20,isAutoIncrement = true,isKey = true)
    private Integer id;

    @AcColumn(name = "record_id",defaultValue = "0",comment = "消息记录ID",type = ColumnTypeEnums.INT)
    private Integer record_id;

    @AcColumn(name = "type",defaultValue = "1",comment = "通知类型[1:入群通知;2:自动退群;3:管理员踢群]",type = ColumnTypeEnums.TINYINT)
    private Integer type;

    @AcColumn(name = "operate_user_id",defaultValue = "0",comment = "操作人的用户ID(邀请人)",type = ColumnTypeEnums.INT)
    private Integer operate_user_id;

    @AcColumn(name = "user_ids", defaultValue = "", comment = "用户ID，多个用 , 分割", type = ColumnTypeEnums.VARCHAR,length = 255, isNull = false)
    private String user_ids;
}
